import React from 'react';
import {View, Text} from 'react-native';

import styles from './styles';

const Header = ({text}) => {
  return (
    <View>
      <Text style={styles.title}>{text}</Text>
    </View>
  );
};

export default Header;
